package com.analog.mserver.vo.base;

import java.io.Serializable;
import java.util.Date;

/**
 * vo的基础需要，目的继承entity 的必有字段
 * @author simon
 * @date 2018年5月10日
 *
 */
public class BaseVO implements Serializable {
	private static final long serialVersionUID = 6927970812936285030L;

	protected Integer id;  
    
    protected Integer version;

    protected Date createTime;
    
    protected Date updateTime;

    protected int page = 1;
    
    protected int limit = 15;
    
    protected String sort = "desc";
    
    protected String sortCol = "id";

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getSortCol() {
		return sortCol;
	}

	public void setSortCol(String sortCol) {
		this.sortCol = sortCol;
	}
    
    
}
